﻿<%@ Page Title="Persetujuan Proposal" Language="C#" MasterPageFile="~/Lab.master" AutoEventWireup="true" CodeFile="PersetujuanProposal.aspx.cs" Inherits="PersetujuanProposal" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" Runat="Server">
    <form id="myForm" class="form-horizontal form-label-left" method="post" runat="server">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
            <div class="x_title">
                <h2>Daftar proposal yang belum disetujui</h2>
                <ul class="nav navbar-right panel_toolbox">
                    <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">Settings 1</a>
                            </li>
                            <li><a href="#">Settings 2</a>
                            </li>
                        </ul>
                    </li>
                    <li><a class="close-link"><i class="fa fa-close"></i></a>
                    </li>
                </ul>
                <div class="clearfix"></div>
            </div>

            <div class="x_content">
                <div class="form-group">
                    <label class="control-label col-md-2 col-sm-3 col-xs-12" for="barang">TAHUN ANGGARAN<span class="required">*</span></label>
                    <div class="col-md-10 col-sm-6 col-xs-12">
                        <asp:DropDownList runat="server" ID="lstTahun" CssClass="select2_tahun form-control" EnableViewState="true" AutoPostBack="true" OnSelectedIndexChanged="lstTahun_SelectedIndexChanged">

                        </asp:DropDownList>
                    </div>
                </div>

                <div class="form-group">
                    <asp:Repeater ID="userList" runat="server">
                        <HeaderTemplate>
                            <table id="datatable-responsive" class="table table-striped jambo_table bulk_action">
                                <thead>
                                    <tr class="headings">
                                        <th class="column-title">NO</th>
                                        <th class="column-title">Kode Proposal</th>
                                        <th class="column-title">Nama Laboratorium</th>
                                        <th class="column-title">Nama</th>
                                        <th class="column-title">Permintaan</th>
                                        <th class="column-title">Pilih</th>
                                    </tr>
                                </thead>
                                <tbody>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr class="even pointer">
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NO") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "KODE_PROPOSAL") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA_LAB") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "BARANG") %></td>
                                <td class=" "><input name="ids" type="checkbox" class="flat" style="position: absolute; opacity: 0;" value='<%# DataBinder.Eval(Container.DataItem, "ID") %>'></td>
                            </tr>
                        </ItemTemplate>
                        <AlternatingItemTemplate>
                            <tr class="odd pointer">
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NO") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "KODE_PROPOSAL") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA_LAB") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "BARANG") %></td>
                                <td class=" "><input name="ids" type="checkbox" class="flat" style="position: absolute; opacity: 0;" value='<%# DataBinder.Eval(Container.DataItem, "ID") %>'></td>
                            </tr>
                        </AlternatingItemTemplate>
                        <FooterTemplate>
                            </tbody>
                                    </table>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>

                <div class="form-group">
                    <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-5">
                        <asp:Button runat="server" Text="Setuju" CssClass="btn btn-success" ID="btnSetuju" OnClick="btnSetuju_Click" />
                    </div>
                </div>
            </div>
        </div>

        <div class="x_panel">
            <div class="x_title">
                <h2>Daftar proposal yang sudah disetujui</h2>
                <ul class="nav navbar-right panel_toolbox">
                    <li><a class="collapse-link"><i class="fa fa-chevron-down"></i></a>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">Settings 1</a>
                            </li>
                            <li><a href="#">Settings 2</a>
                            </li>
                        </ul>
                    </li>
                    <li><a class="close-link"><i class="fa fa-close"></i></a>
                    </li>
                </ul>
                <div class="clearfix"></div>
            </div>

            <div class="x_content" style="display:none">
                <div class="form-group">
                    <asp:Repeater ID="list2" runat="server">
                        <HeaderTemplate>
                            <table id="datatable2-responsive" class="table table-striped jambo_table bulk_action">
                                <thead>
                                    <tr class="headings">
                                        <th class="column-title">NO</th>
                                        <th class="column-title">Kode Proposal</th>
                                        <th class="column-title">Nama Laboratorium</th>
                                        <th class="column-title">Nama</th>
                                        <th class="column-title">Permintaan</th>
                                    </tr>
                                </thead>
                                <tbody>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr class="even pointer">
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NO") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "KODE_PROPOSAL") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA_LAB") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "BARANG") %></td>
                            </tr>
                        </ItemTemplate>
                        <AlternatingItemTemplate>
                            <tr class="odd pointer">
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NO") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "KODE_PROPOSAL") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA_LAB") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "NAMA") %></td>
                                <td class=" "><%# DataBinder.Eval(Container.DataItem, "BARANG") %></td>
                            </tr>
                        </AlternatingItemTemplate>
                        <FooterTemplate>
                            </tbody>
                                    </table>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
            </div>
        </div>
    </div>
    </form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="BodyFooterContainer" Runat="Server">
</asp:Content>

